package com.heima.leadnews.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.pojo.ApArticle;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmNewsDto;

import java.util.Date;

public interface ApArticleService extends IService<ApArticle> {
    ResponseResult load(Integer size, String tag);

    ResponseResult loadmore(Integer size, String tag, Date min);

    ResponseResult loadnew(Integer size, String tag, Date max);

    ResponseResult saveArticle(WmNewsDto wmNewsDto);

    ResponseResult updateStaticUrl(Long id, String url);
}
